<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="UTF-8">
		<title></title>
		 <link rel="stylesheet" href="css/amazeui.min.css" />
		  <link rel="stylesheet" href="css/admin.css" />
	</head>

    <script src="js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript">


    </script>
	<body>


    <div class="admin-content-body" th:each="Activityesarea:${huodonggoods}">
      <div class="am-cf am-padding am-padding-bottom-0">
        <div class="am-fl am-cf">
            <form action="/insertactivityGoods" method="get">
                <select name="goodsId">
                    <option th:each="CommodityList2:${quanbu}" th:text="${CommodityList2.getTradename()}" th:value="${CommodityList2.getGoodsid()}"></option>
                </select>
                <input type="hidden" th:text="${Activityesarea.getActivityesareaid()}" name="activityesAreaId">
                <span><input type="submit" value="新增"></span>
            </form>
          <strong class="am-text-primary am-text-lg" th:text="${Activityesarea.activityesname}" th:onclick="|javascript:show(${Activityesarea.getActivityesareaid()})|"></strong>
        </div>
      </div>

      <hr>

      <ul class="am-avg-sm-2 am-avg-md-4 am-avg-lg-6 am-margin gallery-list" th:id="${Activityesarea.getActivityesareaid()}">
        <li th:each="CommodityList:${Activityesarea.getCommodityLists()}">
          <a href="#">
            <img class="am-img-thumbnail am-img-bdrs" th:src="@{/image/{fileName}(fileName=(${CommodityList.getPicturepath()}))}" alt="" style="height: 5cm;width: 6cm">
            <div class="gallery-title" th:text="${CommodityList.getTradename()}"></div>
          </a>
        </li>
      </ul>


    </div>
	</body>
</html>
